FROM php:8.3-fpm

ENV DEBIAN_FRONTEND noninteractive
ENV TZ=PRC

COPY --from=composer /usr/bin/composer /usr/bin/composer
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/

RUN install-php-extensions pdo_mysql redis zip bcmath gd xdebug
